import mod.server.extraServerApi as serverApi


class block(object):
    def __init__(self):
        self.result = serverApi.GetEngineCompFactory().CreateBlock(serverApi.GetLevelId())

    def getResult(self):
        return self.result

class blockInfo(object):
    def __init__(self):
        self.result = serverApi.GetEngineCompFactory().CreateBlockInfo(serverApi.GetLevelId())

    def getResult(self):
        return self.result

class blockEntityData(object):
    def __init__(self):
        self.result = serverApi.GetEngineCompFactory().CreateBlockEntityData(serverApi.GetLevelId())

    def getResult(self):
        return self.result

class blockState(object):
    def __init__(self):
        self.result = serverApi.GetEngineCompFactory().CreateBlockState(serverApi.GetLevelId())

    def getResult(self):
        return self.result

class blockUseEventWhiteList(object):
    def __init__(self):
        self.result = serverApi.GetEngineCompFactory().CreateBlockUseEventWhiteList(serverApi.GetLevelId())

    def getResult(self):
        return self.result
